package com.sl.au.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "sl_dcms_KitchenWaste")
public class KitchenWaste extends Root {

	@Column(nullable = true)
	private double waste;// 餐厨废弃物实际收集量 (kg/天)

	@Column(nullable = true)
	private double wasteOil;// 餐厨废弃油脂实际收集量 (kg/天)

	@ManyToOne
	@JoinColumn(name = "userId")
	private User checkPerson;// 审核人员

	@Column(nullable = true)
	private String remark;// 备注

	@Column(nullable = true)
	private String picAddr;// 图片地址

	@ManyToOne
	@JoinColumn(name = "bussinessId")
	private BusinesssellerBaseInfo businesssellerBaseInfo;

	private Double longtitude;
	private Double latitude;

	public Double getLongtitude() {
		return longtitude;
	}

	public void setLongtitude(Double longtitude) {
		this.longtitude = longtitude;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public double getWaste() {
		return waste;
	}

	public void setWaste(double waste) {
		this.waste = waste;
	}

	public double getWasteOil() {
		return wasteOil;
	}

	public void setWasteOil(double wasteOil) {
		this.wasteOil = wasteOil;
	}

	public User getCheckPerson() {
		return checkPerson;
	}

	public void setCheckPerson(User checkPerson) {
		this.checkPerson = checkPerson;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public BusinesssellerBaseInfo getBusinesssellerBaseInfo() {
		return businesssellerBaseInfo;
	}

	public void setBusinesssellerBaseInfo(BusinesssellerBaseInfo businesssellerBaseInfo) {
		this.businesssellerBaseInfo = businesssellerBaseInfo;
	}

	public String getPicAddr() {
		return picAddr;
	}

	public void setPicAddr(String picAddr) {
		this.picAddr = picAddr;
	}

}
